.editableSpan {
    position: relative;
}
.editableSpan button {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 1;
}
.editableSpan:hover button {
    display: inline-block;
}